package com.ruoyi.bizsys.service;

import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.bizsys.domain.CustActiveIncreaseLog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 主动提额日志Service接口
 *
 * @author african-loan
 * @date 2022-03-31
 */
public interface ICustActiveIncreaseLogService extends IService<CustActiveIncreaseLog>{
    /**
     * 查询主动提额日志
     *
     * @param id 主动提额日志ID
     * @return 主动提额日志
     */
    public CustActiveIncreaseLog selectCustActiveIncreaseLogById(Long id);

    /**
     * 查询主动提额日志列表
     *
     * @param custActiveIncreaseLog 主动提额日志
     * @return 主动提额日志集合
     */
    public List<CustActiveIncreaseLog> selectCustActiveIncreaseLogList(CustActiveIncreaseLog custActiveIncreaseLog);

    /**
     * 新增主动提额日志
     *
     * @param custActiveIncreaseLog 主动提额日志
     * @return 结果
     */
    public int insertCustActiveIncreaseLog(CustActiveIncreaseLog custActiveIncreaseLog);

    /**
     * 修改主动提额日志
     *
     * @param custActiveIncreaseLog 主动提额日志
     * @return 结果
     */
    public int updateCustActiveIncreaseLog(CustActiveIncreaseLog custActiveIncreaseLog);

    /**
     * 批量删除主动提额日志
     *
     * @param ids 需要删除的主动提额日志ID
     * @return 结果
     */
    public int deleteCustActiveIncreaseLogByIds(Long[] ids);

    /**
     * 删除主动提额日志信息
     *
     * @param id 主动提额日志ID
     * @return 结果
     */
    public int deleteCustActiveIncreaseLogById(Long id);

    boolean saveLog(String customerNo, String ruleType, JSONObject resJson);
}
